package com.itheima.demo1Exception;
/*
自定义的编译时异常
	1.自定义的异常类必须继承Exception或者RuntimeException
	2.重写Exception的构造器
 */
public class AgeIllegalException extends Exception{
    public AgeIllegalException(){
    }
    public AgeIllegalException(String message){
        super(message);
    }
}
